<template>
  <el-row type="flex" style="width:100%" align="middle">
    <!-- 左边 -->
    <el-col>
      <span style="margin-right: 10px">{{ treeNode.name }}</span>
    </el-col>
    <!-- 右边 -->
    <el-col>
      <el-row type="flex" justify="end">
        <span style="margin-right: 10px">
          {{ treeNode.manager }}
        </span>
        <el-dropdown>
          <span class="el-dropdown-link">
            操作
            <i class="el-icon-arrow-down" />
          </span>
          <!-- 下拉菜单 -->
          <el-dropdown-menu slot="dropdown">
            <slot />
          </el-dropdown-menu>
        </el-dropdown>
      </el-row>
    </el-col>
  </el-row>
</template>

<script>
export default {
  name: 'TreeNodeTool',
  components: {},
  props: {
    treeNode: {
      required: true,
      type: Object
    }
  },
  data() {
    return {

    }
  },
  computed: {},
  watch: {},
  created() {
  },
  methods: {}
}
</script>

<style lang="less" scoped>
</style>
